(a) the amount that the corporation would be deemed to have paid to the Minister under section 1029.8.36.0.43 for its taxation year in which the particular fiscal period ends, in respect of the qualified wages, ifi. the aggregate referred to in paragraph b of the definition of “qualified wages” in the first paragraph of section 1029.8.36.0.38 and determined with reference to section 1029.8.36.0.47, were reduced, for the particular fiscal period, by the product obtained by multiplying any amount of such assistance so repaid at or before the end of the fiscal period of repayment by the proportion that the income or loss of the partnership for the fiscal period of repayment is of the share of the corporation of that income or loss, on the assumption that, if the income and loss of the partnership for that fiscal period are nil, the partnership’s income for that fiscal period is equal to $1,000,000, and
ii. except for the purposes of section 1029.8.36.0.47, the corporation’s share of the income or loss of the partnership for the particular fiscal period and the partnership’s income or loss for that fiscal period were the same as those for the fiscal period of repayment; exceeds
(b) the aggregate ofi. the amount that the corporation would be deemed to have paid to the Minister under section 1029.8.36.0.43 for its taxation year in which the particular fiscal period ends, in respect of the qualified wages, if, except for the purposes of section 1029.8.36.0.47, the corporation’s share of the income or loss of the partnership for the particular fiscal period and the partnership’s income or loss for that fiscal period were the same as those for the fiscal period of repayment, and
ii. any amount that the corporation would be deemed to have paid to the Minister under this section for a taxation year preceding the taxation year in which the fiscal period of repayment ends, in respect of an amount of that assistance repaid by the corporation, if, except for the purposes of section 1029.8.36.0.47, the corporation’s share of the income or loss of the partnership for the particular fiscal period and the partnership’s income or loss for that fiscal period were the same as those for the fiscal period of repayment.